﻿using System;
using System.Data;
using KPIS.GERP.GFMS.MODEL;
using System.Collections.Generic;

namespace KPIS.GERP.GFMS.IBLL
{
    public interface IBLL_FIM_Petitions
    {
        IList<M_FIM_Petitions> GetFull(string bgm_source_seq, string bgm_year);
        IList<M_FIM_Petitions> GetList(string bgm_source_seq, string bgm_year, string filter);
        IList<M_FIM_Petitions> GetDirectPaymentList(string bgm_source_seq
            , string bgm_year, string petition_seq);
        IList<M_FIM_Petitions> GetApprovedList(string bgm_source_seq, string bgm_year, string filter);
        M_FIM_Petitions GetInfo(string seq);
        //string SelectRecentInsertedRoleSeq();

        string Insert(M_FIM_Petitions info);
        void Update(M_FIM_Petitions info);
        void Delete(M_FIM_Petitions info);
        void UpdateGlTranSeq(M_FIM_Petitions info);
        void UpdatePetitionNo(M_FIM_Petitions info);
        void ChangeStatus(M_FIM_Petitions info);
    }
}
